//
//  HSYBaseCardNavigationController.m
//  高仿暴走斗图
//
//  Created by key on 16/4/19.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import "HSYBaseCardNavigationController.h"

@implementation HSYBaseCardNavigationController

- (instancetype)initWithRootViewController:(UIViewController *)rootViewController {
    
    if (self = [super initWithRootViewController:rootViewController]) {
        
        [self setTransitionsAnimationType:kHSYTransitionsAnimationTypeCard withBarColor:[[HSYColorHelper shareInstance] navBarColor]];
    }
    return self;
}

- (instancetype)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
        
        [self setTransitionsAnimationType:kHSYTransitionsAnimationTypeCard withBarColor:[[HSYColorHelper shareInstance] navBarColor]];
    }
    return self;
}

- (void)viewDidLoad {
    
    [super viewDidLoad];
    self.showsShadow = YES;
}


@end
